package com.neusoft.common.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Grider {
    @TableId(value = "admin_code")
    private String admin_code;
    private String password;
    private String name;
    private Integer province;
    private Integer city;
    private String tel;
    private String email;

    public Grider() {
    }

    public Grider(Grider grider) {
        this.admin_code = grider.getAdmin_code();
        this.password = grider.getPassword();
        this.name = grider.getName();
        this.province = grider.getProvince();
        this.city = grider.getCity();
        this.tel = grider.getTel();
        this.email = grider.getEmail();
    }
}
